/*
* Copyright 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.composite;/**
 * Description:
 *
 * @author: Qinxuefeng
 * @since: 1.0
 * Create Date Time: 2018/12/29 16:05
 * Update Date Time:
 */

public abstract class Component {
    protected String name;

    public Component(String name) {
        this.name = name;
    }
    abstract void add(Component component);
    abstract void del(Component component);
    public abstract void display(int depat);

}
